package jf.collections.stream;

import java.util.Collection;

import jf.collections.ArrayListX;
import jf.collections.ListX;
import jf.closure.F1;

/**
 * @author ivanalx
 * @date 03.06.2009 11:16:59
 */
public class ArrayStream<A> extends Stream<A> {
	public ArrayStream(F1<Stream<A>, A> builder) {
		super(builder);
	}

	public ArrayStream(F1<Stream<A>, A> builder, A... init) {
		super(builder, init);
	}

	public ArrayStream(F1<Stream<A>, A> builder, Collection<? extends A> init) {
		super(builder, init);
	}

	protected ArrayListX<A> createBaseList() {
		return new ArrayListX<A>();
	}
}
